package com.zito.health.mapper;

import com.zito.health.dto.LabListDto;
import com.zito.health.dto.LaboratoryPrint1Dto;
import com.zito.health.entity.Laboratory;
import com.zito.health.dto.LaboratoryDto;
import com.zito.health.entity.LaboratoryVo;
import com.zito.health.vo.LabCoordinateVo;
import com.zito.health.vo.LaboratoryAppVo;
import com.zito.health.vo.LaboratoryInfoVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface LaboratoryMapper extends Mapper<Laboratory> {

    public List<LaboratoryDto> queryLaboratory(LaboratoryDto laboratoryDto);

    LaboratoryDto queryLaboratoryById(Integer id);

    /**
     * 实验室变更用的
     * @param laboratoryId
     * @return
     */
    LaboratoryInfoVo getLabInfoByLabId(Integer laboratoryId);

    LaboratoryPrint1Dto print1(Integer id);

    List<LabListDto> queryLabList(LabListDto object);

    List<LabCoordinateVo> getCoordinates(@Param("labName") String labName);

    Integer getLabNum();

    LaboratoryVo getById(@Param("id") Integer id);

    List<LaboratoryDto> list4Archives(LaboratoryDto laboratoryDto);
}
